package com.twu.biblioteca.entity;

import com.twu.biblioteca.entity.Account;
import com.twu.biblioteca.entity.Book;

/**
 * Created by ccsong on 9/22/14.
 */
public class CheckBookInfo {
    private Book book;
    private String libraryNumber;

    public CheckBookInfo(Book book, String libraryNumber) {
        this.book = book;
        this.libraryNumber = libraryNumber;
    }

    public String getLibraryNumber(){
        return libraryNumber;
    }

    public Book getBook(){
        return book;
    }

    public String toString(){
        return libraryNumber+"\t"+book.getName()+"\n";
    }
}
